//
//  ZLWHomeListCell.m
//  EPA
//
//  Created by lanou3g on 16/4/20.
//  Copyright © 2016年 zlw. All rights reserved.
//

#import "ZLWHomeListCell.h"
#import "UIImageView+WebCache.h"
@interface ZLWHomeListCell  ()

@property (weak, nonatomic) IBOutlet UILabel *TitleLable;
@property (weak, nonatomic) IBOutlet UIImageView *TitleImageView;
@property (weak, nonatomic) IBOutlet UILabel *ContentLable;

@end

@implementation ZLWHomeListCell

- (void)awakeFromNib {
    // Initialization code
}

-(void)layoutSubviews
{
    self.TitleLable.text = self.model.title;
    self.ContentLable.text = self.model.content;
    [self.TitleImageView setImage:[UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:self.model.coverimg]]]];
    
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
